<?php
/**
 * User: taodf
 * Date: 17-4-28
 * Time: 上午12:04
 */

namespace Zeus\Contracts\Routing;

/**
 * Interface UrlRoutable
 * @package Zeus\Contracts\Routing
 */
interface UrlRoutable
{
    /**
     * Get the value of the model's route key.
     *
     * @return mixed
     */
    public function getRouteKey();

    /**
     * Get the route key for the model.
     *
     * @return string
     */
    public function getRouteKeyName();
}